# -*- coding:utf-8 -*-
"""
@Author : 审心
@Time : 2023/3/22 14:54
接口统一管理
"""
from request.open.robot import get_api

# 获取机器接口
apiMap = {}
if len(apiMap) == 0:
    result = get_api()
    if result['code'] != 0:
        raise RuntimeError("获取机器接口失败")
    apiMap = result['result']
